{% extends "base.html" %}
{%block menu%}
<li class="active"><a href={% url "vdir:detail" %}>目录列表</a></li>
<li><a href="../navbar-fixed-top/">登出</a></li>
{%endblock%}
{%block content%}


<form role="form" method="post">{% csrf_token %}
  <div class="form-group">
    <label class="control-label">文件名</label>
    <div>
      <p class="form-control-static">{{dir.name}}</p>
    </div>
  </div>
  <div class="form-group">
    <label for="">文件夹名</label>
    {% if form.newname.errors %}<span style="color: #FF0000;"> {{ form.newname.errors|join:", " }}</span>{% endif %}
    {{form.newname}}
  </div>
  <button type="submit" class="btn btn-default">Submit</button>
</form>



{%endblock%}